import React from "react";

export function ReactIcon({
  size,
  color,
}: {
  size: number;
  color: React.CSSProperties["color"];
}) {
  return (
    <svg
      width={size}
      height={size}
      viewBox="0 0 64 64"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="M31.7853 36.6544C34.632 36.6544 36.9397 34.3467 36.9397 31.5001C36.9397 28.6534 34.632 26.3457 31.7853 26.3457C28.9386 26.3457 26.631 28.6534 26.631 31.5001C26.631 34.3467 28.9386 36.6544 31.7853 36.6544Z"
        fill={color}
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M31.8274 9.90155C25.7083 4.13963 19.6787 1.57163 15.8276 3.79507C11.97 6.02228 11.183 12.5463 13.1259 20.7461C5.16838 23.1684 0 27.083 0 31.4999C0 35.9174 5.16971 39.8325 13.129 42.2547C11.1816 50.4615 11.9672 56.9921 15.8271 59.2207C19.6784 61.4442 25.7081 58.876 31.8274 53.1137C37.9466 58.876 43.9764 61.4442 47.8276 59.2207C51.6724 57.0009 52.4669 50.5129 50.5486 42.3516C58.6904 39.9376 64 35.9768 64 31.4999C64 27.0236 58.6917 23.0632 50.5517 20.6492C52.4655 12.4949 51.6696 6.01347 47.8271 3.79504C43.976 1.5716 37.9465 4.13961 31.8274 9.90155ZM45.9271 7.08594C46.3713 7.34237 46.9766 7.96169 47.3799 9.51782C47.788 11.0919 47.8926 13.3147 47.5266 16.1297C47.3794 17.2615 47.1604 18.4576 46.8696 19.7063C44.5011 19.1882 41.9574 18.79 39.2851 18.5311C37.7295 16.3674 36.1192 14.3838 34.4938 12.6104C35.4409 11.7221 36.3782 10.924 37.2953 10.2227C39.5502 8.49821 41.5274 7.47742 43.0947 7.04373C44.644 6.61498 45.483 6.82951 45.9271 7.08594ZM29.1609 12.6104C28.2139 11.7221 27.2765 10.924 26.3595 10.2227C24.1046 8.49824 22.1273 7.47746 20.5601 7.04376C19.0108 6.61502 18.1718 6.82954 17.7276 7.08597C17.2835 7.3424 16.6782 7.96172 16.2748 9.51785C15.8668 11.092 15.7622 13.3147 16.1282 16.1298C16.2782 17.2835 16.5029 18.5041 16.8021 19.7791C19.154 19.25 21.6832 18.8398 24.3431 18.5681C25.9069 16.39 27.5262 14.3939 29.1609 12.6104ZM45.8545 23.3745C44.6447 23.1148 43.3802 22.887 42.0682 22.695C42.5058 23.3994 42.9364 24.1181 43.3591 24.8502C43.7743 25.5693 44.1744 26.2887 44.5593 27.007C45.0466 25.7694 45.4784 24.5559 45.8545 23.3745ZM46.7808 31.5073C47.8914 29.049 48.8143 26.634 49.543 24.3137C50.8449 24.7022 52.0572 25.1308 53.1675 25.5929C55.7885 26.6835 57.6611 27.8854 58.8203 29.0258C59.9663 30.1532 60.2 30.9871 60.2 31.4999C60.2 32.0128 59.9663 32.8466 58.8203 33.974C57.6611 35.1144 55.7885 36.3164 53.1675 37.407C52.056 37.8695 50.8424 38.2985 49.5389 38.6874C48.8108 36.3712 47.8892 33.9609 46.7808 31.5073ZM42.5871 31.5074C41.83 29.9379 40.9902 28.3471 40.0682 26.7502C39.1415 25.145 38.1787 23.615 37.1928 22.1681C35.513 22.0478 33.7781 21.9845 32 21.9845C30.0933 21.9845 28.2363 22.0573 26.4436 22.1951C25.4641 23.634 24.5075 25.155 23.5865 26.7501C22.6645 28.3471 21.8248 29.9379 21.0676 31.5074C21.8249 33.0772 22.6648 34.6683 23.587 36.2656C24.5044 37.8546 25.4572 39.3699 26.4327 40.8039C28.2287 40.9422 30.0894 41.0154 32 41.0154C33.782 41.0154 35.5205 40.9517 37.2037 40.831C38.1856 39.389 39.1446 37.8645 40.0677 36.2656C40.99 34.6683 41.8299 33.0772 42.5871 31.5074ZM42.0785 40.3033C42.5124 39.6045 42.9394 38.8916 43.3586 38.1656C43.7741 37.4461 44.1744 36.7264 44.5594 36.0077C45.0448 37.2404 45.4751 38.4493 45.8502 39.6262C44.6449 39.8849 43.3853 40.1119 42.0785 40.3033ZM34.2978 44.7816C33.5389 44.804 32.7726 44.8154 32 44.8154C31.107 44.8154 30.2225 44.8001 29.3479 44.7703C30.1698 45.8039 30.9986 46.7783 31.8274 47.6894C32.6532 46.7816 33.4789 45.8109 34.2978 44.7816ZM34.4937 50.4049C36.1233 48.6269 37.7376 46.6377 39.2968 44.4676C41.9637 44.2088 44.5024 43.8112 46.8666 43.2942C47.159 44.5484 47.3793 45.7497 47.527 46.886C47.893 49.7011 47.7884 51.9238 47.3804 53.4979C46.977 55.0541 46.3718 55.6734 45.9276 55.9298C45.4835 56.1862 44.6445 56.4008 43.0951 55.972C41.5279 55.5383 39.5507 54.5175 37.2957 52.793C36.3785 52.0916 35.441 51.2934 34.4937 50.4049ZM29.161 50.4049C27.5221 48.6168 25.8987 46.6151 24.3313 44.4305C21.6769 44.1589 19.1528 43.7494 16.8052 43.2214C16.5043 44.5019 16.2783 45.7277 16.1277 46.886C15.7617 49.701 15.8663 51.9238 16.2743 53.4979C16.6777 55.054 17.283 55.6733 17.7271 55.9298C18.1713 56.1862 19.0103 56.4007 20.5596 55.972C22.1268 55.5383 24.1041 54.5175 26.359 52.793C27.2762 52.0916 28.2137 51.2934 29.161 50.4049ZM17.827 39.5559C19.0132 39.8182 20.2535 40.0496 21.5409 40.2464C21.1192 39.5658 20.7039 38.8719 20.2961 38.1656C19.8807 37.4461 19.4804 36.7264 19.0954 36.0077C18.6196 37.2159 18.1968 38.4011 17.827 39.5559ZM19.0954 27.007C19.4803 26.2887 19.8804 25.5693 20.2956 24.8501C20.7069 24.1377 21.1258 23.4381 21.5513 22.7519C20.2586 22.9493 19.0134 23.1815 17.8227 23.4449C18.1935 24.6041 18.6178 25.794 19.0954 27.007ZM16.874 31.5073C15.7807 33.9273 14.8692 36.3051 14.1459 38.592C12.9616 38.2287 11.8539 37.832 10.8324 37.407C8.21154 36.3164 6.33889 35.1144 5.17968 33.974C4.03371 32.8466 3.8 32.0128 3.8 31.4999C3.8 30.9871 4.03371 30.1532 5.17968 29.0258C6.33889 27.8854 8.21154 26.6835 10.8324 25.5929C11.8527 25.1683 12.959 24.772 14.1418 24.4091C14.8657 26.7002 15.7786 29.0826 16.874 31.5073ZM29.3604 18.2291C30.2309 18.1996 31.1112 18.1845 32 18.1845C32.7684 18.1845 33.5305 18.1957 34.2854 18.2179C33.4705 17.1944 32.649 16.229 31.8274 15.3258C31.0028 16.2323 30.1782 17.2014 29.3604 18.2291Z"
        fill={color}
      />
    </svg>
  );
}
